<!DOCTYPE html>
<html>
	<head>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1" />
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript" src="__TMPL__/public/assets/js/flexible.js" ></script>
		<!-- <script type="text/javascript" src="__TMPL__/public/assets/js/vconsole.min.js" ></script> -->
		<link rel="stylesheet" href="__TMPL__/public/assets/css/all_page.css" />
		<link rel="stylesheet" href="__TMPL__/public/assets/css/public.css" />
		<link rel="stylesheet" href="__TMPL__/public/assets/css/mobiscroll.css" />
		<link rel="stylesheet" href="__TMPL__/public/assets/css/mobiscroll_002.css" />
		<link rel="stylesheet" href="__TMPL__/public/assets/css/mobiscroll_003.css" />
		<style>
			
		</style>
	</head>
	<script type="text/javascript">
		//var vConsole = new VConsole();
		function checkup(id)
			{
				var id = id;
				if(window.confirm("确定要取消申请吗？"))
				{
					$.ajax({ 
							url: "{:url('cancelSub')}", 
							type:"POST",
							data: {
								id:id,
							},
							dataType:"json",
							success: function(data){
					    		if (data.status == 1) {
					    			alert(data.msg);
					    			location.reload();
					    		}
					   		} ,
					   		error:function(){
					   			console.log("失败");
					   		}
					   	});
				}
				else
				{
					return false;
				}
			}
	</script>
	<body>
		
		<div class="reserve">
			
			<div class="head" style="background: url({:cmf_get_image_url($img['img'])}) no-repeat;background-size: 100% 100%;">
				<p>预定列表</p>
			</div>
			<!--头部-->
			<div class="pTop time">
				<label>时间：</label>
				<div class="input">
					<input value="{:date("Y-m-d")}" class="" readonly="readonly" name="appDate" id="sTime" type="text">
					<p id="sTimeText">{:date("Y-m-d")}</p>
				</div> <span>至</span>
				<div class="input">
					<input value="{:date("Y-m-d",strtotime("+1 month"))}" class="" readonly="readonly" name="appDate" id="eTime" type="text">
					<p id="eTimeText">{:date("Y-m-d",strtotime("+1 month"))}</p>
				</div>
			</div>
			
			<div class="reCn">
				<if condition="$user_type eq 1">
				<!--用户查看-->
				<foreach name="book_info" item="vo">
					<a href="{:url('book_detail',array('id'=>$vo['id']))}">
				<div class="reList div_float">
					<img class="l" src="__TMPL__/public/assets/images/y3.png" />
					<div class="msg">
						<div class="top">
							<if condition="$vo['cancel'] eq 1">
								<p>{$vo[theme]}</p>
								<P class="state">已取消</P>
								<else/>
								<if condition="$vo['status'] eq 0">
								<p class="jTil">{$vo[theme]}</p>
								<P class="state dsBg">待审核</P>
								<elseif condition="$vo['status'] eq 1"/>
								<p>{$vo[theme]}</p>
								<P class="state">已预定</P>
								<elseif condition="$vo['status'] eq 2"/>
								<p>{$vo[theme]}</p>
								<P class="state">不通过</P>
								</if>
							</if>
						</div>
						<div class="btm">
							<p>会议场所：{$meet[$vo['meet_id']]}</p>
							<P>预定部门：{$vo['name']}</P>
							<P>预定时间：{:date('m-d H:00',$vo['start_time'])}-{:date('H:00',$vo['end_time'])}</P>
							
							<if condition="$vo['status'] eq 0">
							<div class="operation">
								<a href="{:url('book_detail',array('id'=>$vo['id']))}"><p>修改</p></a>
								<if condition="$vo['cancel'] eq 0">
								<a href="javascript:void(0);"  onclick="checkup({$vo['id']});"><p>取消</p></a>
								</if>
							</div>
							<elseif condition="($vo['cancel'] eq 0)&&($vo['status'] eq 1)"/>
								<if condition="strtotime('-1 hour',$vo['start_time']) gt time()">
								<div class="operation">
									<a href="javascript:void(0);"  onclick="checkup({$vo['id']});"><p>取消</p></a>
								</div>
								</if>
							</if>
						</div>
					</div>
				</div>
			</a>
				</foreach>
				<elseif condition="$user_type eq 2"/>
				<foreach name="book_info" item="vo">
					<a href="{:url('book_detail',array('id'=>$vo['id']))}">
				<div class="reList div_float">
					<img class="l" src="__TMPL__/public/assets/images/y3.png" />
					<div class="msg">
						<div class="top">
							<if condition="$vo['end_type'] eq 1">
								<p>{$vo[theme]}</p>
								<P class="state">已结算</P>
								<else/>
								<if condition="$vo['status'] eq 0">
								<p class="jTil">{$vo[theme]}</p>
								<P class="state dsBg">待审核</P>
								<elseif condition="$vo['status'] eq 1"/>
								<p>{$vo[theme]}</p>
								<P class="state">已预定</P>
								<elseif condition="$vo['status'] eq 2"/>
								<p>{$vo[theme]}</p>
								<P class="state">不通过</P>
								</if>
							</if>
						</div>
						<div class="btm">
							<p>会议场所：{$meet[$vo['meet_id']]}</p>
							<P>预定部门：{$vo['name']}</P>
							<P>预定时间：{:date('m-d H:00',$vo['start_time'])}-{:date('H:00',$vo['end_time'])}</P>
						</div>
					</div>
				</div>
				</a>
				</foreach>
				<elseif condition="$user_type eq 3"/>
				<foreach name="book_info" item="vo">
					<a href="{:url('book_detail',array('id'=>$vo['id']))}">
				<div class="reList div_float">
					<img class="l" src="__TMPL__/public/assets/images/y3.png" />
					<div class="msg">
						<div class="top">
							<if condition="$vo['cancel'] eq 1">
								<p>{$vo[theme]}</p>
								<P class="state">已取消</P>
								<else/>
								<if condition="$vo['end_type'] eq 1"/>
								<p>{$vo[theme]}</p>
								<P class="state">已结算</P>
								<else/>
								<if condition="$vo['status'] eq 0">
								<p class="jTil">{$vo[theme]}</p>
								<P class="state tgBg">待审核</P>
								<elseif condition="$vo['status'] eq 1"/>
								<p>{$vo[theme]}</p>
								<P class="state dsBg">已审核</P>
								<elseif condition="$vo['status'] eq 2"/>
								<p>{$vo[theme]}</p>
								<P class="state">不通过</P>
								</if>
								</if>
							</if>
						</div>
						<div class="btm">
							<p>会议场所：{$meet[$vo['meet_id']]}</p>
							<P>预定部门：{$vo['name']}</P>
							<P>预定时间：{:date('m-d H:00',$vo['start_time'])}-{:date('H:00',$vo['end_time'])}</P>
							<div class="operation">
							<if condition="$vo['cancel'] eq 1 || $vo['end_type'] eq 1">
								<else/>
							<if condition="$vo['status'] eq 0 ">
								<a href="{:url('book_detail_check',array('id'=>$vo['id']))}"><p>预定审核</p></a>
							</if>
							<if condition="$vo['cancel'] eq 2">
								<a href="{:url('book_detail_cancel',array('id'=>$vo['id']))}"><p>取消审核</p></a>
							</if>
							</if>
							</div>
						</div>
					</div>
				</div>
			</a>
				</foreach>
				</if>
<!-- 			<div class="reList div_float">
					<img class="l" src="__TMPL__/public/assets/images/y3.png" />
					<div class="msg">
						<div class="top">
							<p>部门法务政策培训</p>
							<P class="state">已预定</P>
						</div>
						<div class="btm">
							<p>会议场所：第一会议室</p>
							<P>预定部门：法务部</P>
							<P>预定时间：06-25 10:00-12:00</P>
						</div>
					</div>
				</div> -->
				<!--用户查看-->
				
				<!--管理员查看-->
				<!-- <div class="reList div_float">
					<img class="l" src="__STATIC__/meeting/img/y3.png" />
					<div class="msg">
						<div class="top">
							<p class="jTil">部门法务政策培训</p>
							<P class="state tgBg">通过审核</P>
						</div>
						<div class="btm">
							<p>会议场所：第一会议室</p>
							<P>预定部门：法务部</P>
							<P>预定时间：06-25 10:00-12:00</P>
							<div class="operation">
								<p>修改</p>
								<p>删除</p>
							</div>
						</div>
					</div>
				</div>
				<div class="reList div_float">
					<img class="l" src="__STATIC__/meeting/img/y3.png" />
					<div class="msg">
						<div class="top">
							<p>部门法务政策培训</p>
							<P class="state dsBg">已审核</P>
						</div>
						<div class="btm">
							<p>会议场所：第一会议室</p>
							<P>预定部门：法务部</P>
							<P>预定时间：06-25 10:00-12:00</P>
							<div class="operation">
								<p>修改</p>
								<p>删除</p>
							</div>
						</div>
					</div>
				</div> -->
				<!--管理员查看-->
				
				
				<!--会务员查看-->
				<!-- <div class="reList div_float">
					<img class="l" src="__STATIC__/meeting/img/y3.png" />
					<div class="msg">
						<div class="top">
							<p class="jTil">部门法务政策培训</p>
							<P class="state tgBg">通过审核</P>
						</div>
						<div class="btm">
							<p>会议场所：第一会议室</p>
							<P>预定部门：法务部</P>
							<P>预定时间：06-25 10:00-12:00</P>
							
						</div>
					</div>
				</div>
				<div class="reList div_float">
					<img class="l" src="__STATIC__/meeting/img/y3.png" />
					<div class="msg">
						<div class="top">
							<p>部门法务政策培训</p>
							<P class="state dsBg">已审核</P>
						</div>
						<div class="btm">
							<p>会议场所：第一会议室</p>
							<P>预定部门：法务部</P>
							<P>预定时间：06-25 10:00-12:00</P>
						
						</div>
					</div>
				</div>
				<div class="reList div_float">
					<img class="l" src="__STATIC__/meeting/img/y3.png" />
					<div class="msg">
						<div class="top">
							<p>部门法务政策培训</p>
							<P class="state">已结算</P>
						</div>
						<div class="btm">
							<p>会议场所：第一会议室</p>
							<P>预定部门：法务部</P>
							<P>预定时间：06-25 10:00-12:00</P>
						
						</div>
					</div>
				</div> -->
				<!--会务员查看-->
				
			</div>
			
			<!--公共底部-->
			<include file='public@footer'/>
			
		</div>
		
	
	<script type="text/javascript" src="__TMPL__/public/assets/js/jquery-1.8.3.js" ></script>
	<script type="text/javascript" src="__TMPL__/public/assets/js/mobiscroll.custom-2.5.2.min.js" ></script>
	<script type="text/javascript" src="__TMPL__/public/assets/js/mobiscroll_003.js" ></script>
	<script type="text/javascript" src="__TMPL__/public/assets/js/js.js" ></script>
	<script>
		$(function(){
			var sTime= "{:date("Y-m-d")}"; 
			var eTime = "{:date("Y-m-d",strtotime("+1 month"))}";
			$("#sTime").mobiscroll().date({
				theme: "android-ics",
				lang: "zh",
				display: 'bottom',
				selectType: 'week',
				dateFormat: 'yy-mm-dd', //返回结果格式化为年月格式
				//wheels:[], //设置此属性可以只显示年月，此处演示，就用下面的onBeforeShow方法,另外也可以用treelist去实现
				//onBeforeShow: function (inst) { inst.settings.wheels[0].length>2?inst.settings.wheels[0].pop():null; }, //弹掉“日”滚轮
				headerText: function(valueText) { //自定义弹出框头部格式
					array = valueText.split('-');
					return array[0] + "年" + array[1] + "月" + array[2] + "日";
				},
				onSelect: function(valueText, inst) {
					$('#sTimeText').html(valueText);
					sTime = valueText;
					$.ajax({ 
							url: "{:url('bookCheck')}", 
							type:"POST",
							data: {
								sdate:sTime,
								edate:eTime,
							},
							dataType:"json",
							success: function(data){
					    		var obj = data.msg;
					    		var kyhtml="";
					    		if (data.usertype==1) {
					    			for (var i = 0; i < obj.length ; i++) {
					    				kyhtml +='<a href="/portal/meeting/book_detail/id/'+obj[i].id+'">';
						    			kyhtml += '<div class="reList div_float">';
										kyhtml += '<img class="l" src="__TMPL__/public/assets/images/y3.png" />';
										kyhtml += '<div class="msg">';
										kyhtml += '<div class="top">';
										
										if (obj[i].cancel == 1) {
											kyhtml += '<p>'+obj[i].theme+'</p>';
											kyhtml += '<p class="state">已取消</p>';
										}else{
											if (obj[i].status == 0) {
												kyhtml += '<p class="jTil">'+obj[i].theme+'</p>';
												kyhtml += '<p class="state dsBg">待审核</p>';
											}else if (obj[i].status == 1) {
												kyhtml += '<p>'+obj[i].theme+'</p>';
												kyhtml += '<p class="state">已预定</p>';
											}else if (obj[i].status == 2) {
												kyhtml += '<p>'+obj[i].theme+'</p>';
												kyhtml += '<p class="state">不通过</p>';
											}
										}
										kyhtml += '</div>';
										kyhtml += '<div class="btm">';
										kyhtml += '<p>会议场所：'+obj[i].title+'</p>';
										kyhtml += '<P>预定部门：'+obj[i].name+'</P>';
										kyhtml += '<P>预定时间：'+obj[i].start_time+'-'+obj[i].end_time+'</P>';

										if (obj[i].status == 0) {
											kyhtml += '<div class="operation">';
											kyhtml += '<a href="/portal/meeting/book_detail/id/'+obj[i].id+'"><p>修改</p></a>';
											if (obj[i].cancel == 0) {
												kyhtml += '<a href="javascript:void(0);"  onclick="checkup('+obj[i].id+');"><p>取消</p></a>';
											}
											kyhtml += '</div>';
										}else if((obj[i].cancel == 0)&&(obj[i].status == 1)){
											if (obj[i].change == 1) {
												kyhtml += '<div class="operation">';
												kyhtml += '<a href="javascript:void(0);"  onclick="checkup('+obj[i].id+');"><p>取消</p></a>';
											}
												kyhtml += '</div>';
										}
										kyhtml += '</div>';
										kyhtml += '</div>';
										kyhtml += '</div>';
										kyhtml += '</a>';
									}
					    		}else if (data.usertype == 2) {
					    			for (var i = 0; i < obj.length ; i++) {
					    				kyhtml +='<a href="/portal/meeting/book_detail/id/'+obj[i].id+'">';
						    			kyhtml += '<div class="reList div_float">';
										kyhtml += '<img class="l" src="__TMPL__/public/assets/images/y3.png" />';
										kyhtml += '<div class="msg">';
										kyhtml += '<div class="top">';
										
										if (obj[i].end_type == 1) {
											kyhtml += '<p>'+obj[i].theme+'</p>';
											kyhtml += '<p class="state">已结算</p>';
										}else{
											if (obj[i].status == 0) {
												kyhtml += '<p class="jTil">'+obj[i].theme+'</p>';
												kyhtml += '<p class="state dsBg">待审核</p>';
											}else if (obj[i].status == 1) {
												kyhtml += '<p>'+obj[i].theme+'</p>';
												kyhtml += '<p class="state">已预定</p>';
											}else if (obj[i].status == 2) {
												kyhtml += '<p>'+obj[i].theme+'</p>';
												kyhtml += '<p class="state">不通过</p>';
											}
										}
										kyhtml += '</div>';
										kyhtml += '<div class="btm">';
										kyhtml += '<p>会议场所：'+obj[i].title+'</p>';
										kyhtml += '<P>预定部门：'+obj[i].name+'</P>';
										kyhtml += '<P>预定时间：'+obj[i].start_time+'-'+obj[i].end_time+'</P>';
										kyhtml += '</div>';
										kyhtml += '</div>';
										kyhtml += '</div>';
										kyhtml += '</a>';
									}
				    			}else if (data.usertype == 3) {
				    				for (var i = 0; i < obj.length ; i++) {
				    					kyhtml +='<a href="/portal/meeting/book_detail/id/'+obj[i].id+'">';
						    			kyhtml += '<div class="reList div_float">';
										kyhtml += '<img class="l" src="__TMPL__/public/assets/images/y3.png" />';
										kyhtml += '<div class="msg">';
										kyhtml += '<div class="top">';
										
										if (obj[i].cancel == 1) {
											kyhtml += '<p>'+obj[i].theme+'</p>';
											kyhtml += '<p class="state">已取消</p>';
										}else{
											if (obj[i].end_type == 1) {
												kyhtml += '<p>'+obj[i].theme+'</p>';
												kyhtml += '<p class="state">已结算</p>';
											}else{
												if (obj[i].status == 0) {
													kyhtml += '<p class="jTil">'+obj[i].theme+'</p>';
													kyhtml += '<p class="state dsBg">待审核</p>';
												}else if (obj[i].status == 1) {
													kyhtml += '<p>'+obj[i].theme+'</p>';
													kyhtml += '<p class="state">已预定</p>';
												}else if (obj[i].status == 2) {
													kyhtml += '<p>'+obj[i].theme+'</p>';
													kyhtml += '<p class="state">不通过</p>';
												}
											}
										}
										kyhtml += '</div>';
										kyhtml += '<div class="btm">';
										kyhtml += '<p>会议场所：'+obj[i].title+'</p>';
										kyhtml += '<P>预定部门：'+obj[i].name+'</P>';
										kyhtml += '<P>预定时间：'+obj[i].start_time+'-'+obj[i].end_time+'</P>';
										kyhtml += '<div class="operation">';
										if (obj[i].end_type == 1 || obj[i].cancel == 1) {
											
										}else{
											if (obj[i].status == 0) {
												
												kyhtml += '<a href="/portal/meeting/book_detail_check/id/'+obj[i].id+'"><p>预定审核</p></a>';
											}
											if(obj[i].cancel == 2){
												kyhtml += '<a href="/portal/meeting/book_detail_cancel/id/'+obj[i].id+'"><p>取消审核</p></a>';
											}
										}
										kyhtml += '</div>';
										kyhtml += '</div>';
										kyhtml += '</div>';
										kyhtml += '</div>';
										kyhtml += '</a>';
									}
			    				}
					    		$('.reCn').html(''); 
              					$('.reCn').html(kyhtml);
					   		} ,
					   		error:function(){
					   			console.log("失败");
					   		}
					});
				}
			});
			
			$("#eTime").mobiscroll().date({
				theme: "android-ics",
				lang: "zh",
				display: 'bottom',
				selectType: 'week',
				dateFormat: 'yy-mm-dd', //返回结果格式化为年月格式
				//wheels:[], //设置此属性可以只显示年月，此处演示，就用下面的onBeforeShow方法,另外也可以用treelist去实现
				//onBeforeShow: function (inst) { inst.settings.wheels[0].length>2?inst.settings.wheels[0].pop():null; }, //弹掉“日”滚轮
				headerText: function(valueText) { //自定义弹出框头部格式
					array = valueText.split('-');
					return array[0] + "年" + array[1] + "月" + array[2] + "日";
				},
				onSelect: function(valueText, inst) {
					$('#eTimeText').html(valueText);
					eTime = valueText;
					$.ajax({ 
							url: "{:url('bookCheck')}", 
							type:"POST",
							data: {
								sdate:sTime,
								edate:eTime,
							},
							dataType:"json",
							success: function(data){
					    		var obj = data.msg;
					    		var kyhtml="";
					    		if (data.usertype==1) {
					    			for (var i = 0; i < obj.length ; i++) {
						    			kyhtml += '<div class="reList div_float">';
										kyhtml += '<img class="l" src="__TMPL__/public/assets/images/y3.png" />';
										kyhtml += '<div class="msg">';
										kyhtml += '<div class="top">';
										
										if (obj[i].cancel == 1) {
											kyhtml += '<p>'+obj[i].theme+'</p>';
											kyhtml += '<p class="state">已取消</p>';
										}else{
											if (obj[i].status == 0) {
												kyhtml += '<p class="jTil">'+obj[i].theme+'</p>';
												kyhtml += '<p class="state dsBg">待审核</p>';
											}else if (obj[i].status == 1) {
												kyhtml += '<p>'+obj[i].theme+'</p>';
												kyhtml += '<p class="state">已预定</p>';
											}else if (obj[i].status == 2) {
												kyhtml += '<p>'+obj[i].theme+'</p>';
												kyhtml += '<p class="state dsBg">不通过</p>';
											}
										}
										kyhtml += '</div>';
										kyhtml += '<div class="btm">';
										kyhtml += '<p>会议场所：'+obj[i].title+'</p>';
										kyhtml += '<P>预定部门：法务部</P>';
										kyhtml += '<P>预定时间：'+obj[i].start_time+'-'+obj[i].end_time+'</P>';
										if (obj[i].status == 0) {
											kyhtml += '<div class="operation">';
											kyhtml += '<a href="/portal/meeting/book_detail/id/'+obj[i].id+'"><p>修改</p></a>';
											if (obj[i].cancel == 0) {
												kyhtml += '<a href="javascript:void(0);"  onclick="checkup('+obj[i].id+');"><p>取消</p></a>';
											}
											kyhtml += '</div>';
										}else if((obj[i].cancel == 0)&&(obj[i].status == 1)){
											if (obj[i].change == 1) {
												kyhtml += '<div class="operation">';
												kyhtml += '<a href="javascript:void(0);"  onclick="checkup('+obj[i].id+');"><p>取消</p></a>';
											}
												kyhtml += '</div>';
										}
										kyhtml += '</div>';
										kyhtml += '</div>';
										kyhtml += '</div>';
									}
					    		}else if (data.usertype == 2) {
					    			for (var i = 0; i < obj.length ; i++) {
						    			kyhtml += '<div class="reList div_float">';
										kyhtml += '<img class="l" src="__TMPL__/public/assets/images/y3.png" />';
										kyhtml += '<div class="msg">';
										kyhtml += '<div class="top">';
										
										if (obj[i].end_type == 1) {
											kyhtml += '<p>'+obj[i].theme+'</p>';
											kyhtml += '<p class="state">已结算</p>';
										}else{
											if (obj[i].status == 0) {
												kyhtml += '<p class="jTil">'+obj[i].theme+'</p>';
												kyhtml += '<p class="state dsBg">待审核</p>';
											}else if (obj[i].status == 1) {
												kyhtml += '<p>'+obj[i].theme+'</p>';
												kyhtml += '<p class="state">已预定</p>';
											}else if (obj[i].status == 2) {
												kyhtml += '<p>'+obj[i].theme+'</p>';
												kyhtml += '<p class="state">不通过</p>';
											}
										}
										kyhtml += '</div>';
										kyhtml += '<div class="btm">';
										kyhtml += '<p>会议场所：'+obj[i].title+'</p>';
										kyhtml += '<P>预定部门：法务部</P>';
										kyhtml += '<P>预定时间：'+obj[i].start_time+'-'+obj[i].end_time+'</P>';
										kyhtml += '</div>';
										kyhtml += '</div>';
										kyhtml += '</div>';
									}
				    			}else if (data.usertype == 3) {
				    				for (var i = 0; i < obj.length ; i++) {
						    			kyhtml += '<div class="reList div_float">';
										kyhtml += '<img class="l" src="__TMPL__/public/assets/images/y3.png" />';
										kyhtml += '<div class="msg">';
										kyhtml += '<div class="top">';
										
										if (obj[i].cancel == 1) {
											kyhtml += '<p>'+obj[i].theme+'</p>';
											kyhtml += '<p class="state">已取消</p>';
										}else{
											if (obj[i].end_type == 1) {
												kyhtml += '<p>'+obj[i].theme+'</p>';
												kyhtml += '<p class="state">已结算</p>';
											}else{
												if (obj[i].status == 0) {
													kyhtml += '<p class="jTil">'+obj[i].theme+'</p>';
													kyhtml += '<p class="state tgBg">待审核</p>';
												}else if (obj[i].status == 1) {
													kyhtml += '<p>'+obj[i].theme+'</p>';
													kyhtml += '<p class="state">已预定</p>';
												}else if (obj[i].status == 2) {
													kyhtml += '<p>'+obj[i].theme+'</p>';
													kyhtml += '<p class="state">不通过</p>';
												}
											}
										}
										kyhtml += '</div>';
										kyhtml += '<div class="btm">';
										kyhtml += '<p>会议场所：'+obj[i].title+'</p>';
										kyhtml += '<P>预定部门：法务部</P>';
										kyhtml += '<P>预定时间：'+obj[i].start_time+'-'+obj[i].end_time+'</P>';
										kyhtml += '<div class="operation">';
										if (obj[i].end_type == 1 || obj[i].cancel == 1) {
											
										}else{
											if (obj[i].status == 0) {
												
												kyhtml += '<a href="/portal/meeting/book_detail_check/id/'+obj[i].id+'"><p>预定审核</p></a>';
											}
											if(obj[i].cancel == 2){
												kyhtml += '<a href="/portal/meeting/book_detail_cancel/id/'+obj[i].id+'"><p>取消审核</p></a>';
											}
										}
										kyhtml += '</div>';
										kyhtml += '</div>';
										kyhtml += '</div>';
										kyhtml += '</div>';
									}
			    				}
					    		$('.reCn').html(''); 
              					$('.reCn').html(kyhtml);
					   		} ,
					   		error:function(){
					   			console.log("失败");
					   		}
					});
				}
			});
		})
	</script>
	</body>
</html>
